package com.third.customer.model.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.third.customer.model.dao.param.CompanyParam;
import com.third.customer.model.tables.Company;

import java.util.Optional;

/**
 * Created by hehuaichun on 2020/5/21.
 */
public interface CompanyDao {

    Page<Company> query(CompanyParam param);

    Optional<Company> getById(long id);
}
